Skip to content

[Refactor] Redundant checks for noreturn functions#8712

Merged
chrchr-github merged 7 commits into
cppcheck-opensource:mainfrom
chrchr-github:chr_noreturn
Jul 11, 2026
Merged

[Refactor] Redundant checks for noreturn functions#8712
chrchr-github merged 7 commits into
cppcheck-opensource:mainfrom
chrchr-github:chr_noreturn

Conversation

@chrchr-github

Copy link
Copy Markdown
Collaborator

No description provided.

Comment thread lib/astutils.cpp Outdated
@firewave

Copy link
Copy Markdown
Collaborator

On a side note it seems most code just relies on the library information and disregards the attribute so it seems there's room for improvement as a follow-up.

Comment thread lib/astutils.cpp Fixed
@chrchr-github chrchr-github marked this pull request as ready for review July 10, 2026 17:41
@danmar

danmar commented Jul 11, 2026

Copy link
Copy Markdown
Collaborator

This is a refactoring right? Could the PR title indicate that it's a refactoring? so that the commit will say refactoring when you merge.

@chrchr-github chrchr-github changed the title Fix redundant checks for noreturn functions [Refactor] Redundant checks for noreturn functions Jul 11, 2026
@chrchr-github chrchr-github merged commit dd04e09 into cppcheck-opensource:main Jul 11, 2026
72 of 74 checks passed
@chrchr-github chrchr-github deleted the chr_noreturn branch July 11, 2026 19:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants